<?php
namespace Orx\Mailer\MailBox\Message\Excluding;
/**
 * User MailBox Filtering Rule for exclusion
 * If a message respect the rule it will be
 * baned from the applications
 * 
 * @author Xavier VILAIN
 * @package Orx\User\Excluding
 * @property int 	$idusr			 	User Id
 * @property int 	$ruleid				Rule Id
 * @property string	 $from				From email
 * @property string	 $to				To
 * @property string	 $subject		 	Subject
 * @property string	 $included_words 	Included Words
 * @property string	 $excluded_words 	Excluded Words
 * @property bool	 $has_attachement	Has Attachement
 */
class Rule extends \Fox\Object {
	
	/**
	 * User Reverse Link
	 */
	const LINK_USER = 'user';

}
\Fox\Dao::infos(Rule::className(),new \Fox\Object\Info('user_excluding_rules', \Fox\Databases::DB_APP))
->addAutoIncrementField('ruleid');